package com.gitee.huxing.course.service;

import com.gitee.huxing.api.Order;
import com.gitee.huxing.api.OrderService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.service
 * @ClassName: OrderServiceImpl
 * @Author: huxing
 * @DateTime: 2021-10-03 下午3:44
 */
@Service("com.gitee.huxing.api.OrderService")
public class OrderServiceImpl implements OrderService {

    @Override
    public Order findOrderById(int id) {
        return new Order(id, "huxing" + System.currentTimeMillis(), 10.0f);
    }
}
